#ifndef INDIVIDUALREPORT_H
#define INDIVIDUALREPORT_H

#include "qchartglobal.h"
#include <QWidget>
#include "Beans/databean.h"
#include <QtCharts/QChartView>
#include <QtCharts/QPieSeries>
#include <QtCharts/QPieSlice>
#include <QtCharts/QAbstractBarSeries>
#include <QtCharts/QPercentBarSeries>
#include <QtCharts/QStackedBarSeries>
#include <QtCharts/QBarSeries>
#include <QtCharts/QBarSet>
#include <QtCharts/QLineSeries>
#include <QtCharts/QSplineSeries>
#include <QtCharts/QScatterSeries>
#include <QtCharts/QAreaSeries>
#include <QtCharts/QLegend>
#include <QtCharts/QBarCategoryAxis>
#include <QtCharts/QValueAxis>
#include <QtCharts/QChartGlobal>

#ifdef X86
#elif defined ARM
QT_CHARTS_USE_NAMESPACE
#endif
namespace Ui {
class IndividualReport;
}

class IndividualReport : public QWidget
{
    Q_OBJECT

public:
    explicit IndividualReport(QWidget *parent = nullptr);
    ~IndividualReport();
    void InitialCotrols();
    void setV(DataBean db);
    QChart *createLineChart_RR(QList<int>RR);

private:
    Ui::IndividualReport *ui;
};

#endif // INDIVIDUALREPORT_H
